<template>
	<view class="container">
		<!-- <view class="title">{{title}}</view> -->
		<view>
			<image class="logo" :src="imageUrl"></image>
		</view>
		<view>
		    <button type="default" plain="true" @click="registerClick">
				<uni-icons type="contact"></uni-icons>业主注册
			</button>
		    <button type="default" plain="true" @click="registerClick">
				<uni-icons type="person"></uni-icons>游客访问
			</button>
		</view>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				title: '业主中心系统',
				imageUrl:'/static/picture/waiting.jpg'
			}
		},
		onLoad() {
		
		},
		methods: {
			registerClick:function(){
				debugger;
				uni.navigateTo({
				    url: '/pages/upload/upload'
				});
			}
		}
	}
</script>
	
<style>
	button{
		margin-top: 30rpx;
		margin-bottom: 30rpx;
		width: 80%;
	}

	.title {
		text-align: center;
	}
	.container {
		margin-top: 20%;
	}
</style>
